package com.man.LogicService;

import com.man.dao.PeopleDao;

public class DelService {
    public static String authenticateUser(String account){
        if(account.equals("")){
            return "员工号不能为空";
        }
        int num=new PeopleDao().delPeople(account);
        if(num == 0){
            return "不存在该用户";
        }
        return "删除成功";
    }
}
